
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: twa022 <twa022 at gmail dot com>

pkgname=nemo-fileroller
pkgver=1.8.0
pkgrel=1
pkgdesc="Nemo fileroller extension"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/nemo-extensions"
license=('GPL')
source=("configure.in_fix.patch"
        "$pkgname-$pkgver.tar.gz::http://github.com/linuxmint/nemo-extensions/archive/master.tar.gz")

depends=('nemo' 'file-roller')
options=('!libtool' '!emptydirs')

sha256sums=('3381a3421b2fd69746b610cfa3dfeb83d4795076ec692fcf28bcccf69bfe36d0'
            'b89c4667b175ad6ad59b6938dab7e9b53c3bcdc25a5ac5177203662900aac2f5')


build() {

  
  cd nemo-extensions-master/${pkgname}

  ## I think they started with the nemo-dropbox source, so there
  ## are some unnecessary python dependencies
  patch -uNp2 -r- -i ${srcdir}/configure.in_fix.patch
  autoreconf -fi
  
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd nemo-extensions-master/${pkgname}
  make DESTDIR="${pkgdir}" install
}


